import config from '@/core/config'

export default function getPageTitle(pageTitle, system) {
  var tit = 'appName' + system
  if (pageTitle) {
    return `${pageTitle} - ${config[tit]}`
  }
  return `${config[tit]}`
}
